-- GENERATED SPELL FOR [Coldwraith] --


function spell0_28488(pUnit, Event) --@Frostbolt,n/a--
pUnit:FullCastSpellOnTarget(15043,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28488', 7000, 1)
end

function Sorts_28488(pUnit, Event)
local choix_sorts_28488 = math.random(0, 0)
if choix_sorts_28488 == 0 then
pUnit:RegisterEvent('spell0_28488', 1, 1)
end
end

function mob28488_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28488', math.random(1500, 3000), 1)
end

function mob28488_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28488_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28488_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28488, 1, 'mob28488_Action')
RegisterUnitEvent(28488, 2, 'mob28488_Leave')
RegisterUnitEvent(28488, 3, 'mob28488_Kill')
RegisterUnitEvent(28488, 4, 'mob28488_Die')
